package com.whfc.emp.param;

import com.whfc.emp.entity.AppTrainingQuestion;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class AppTrainingAddParam implements Serializable {
	//分类
	private Integer categoryId;
	/**
	 * 试题难度
	 */
	private Integer difficulty;

	/**
	 * 图片
	 */
	private String imgUrl;
	//标题
	@NotEmpty
	private String title;
	//描述
	private String description;
	//数量
	private Integer questionCount;
	//排序
	private Integer sortOrder;
	//状态
	private Integer status;

	List<AppTrainingQuestion> questions;
}
